package com.yeyks.commonReference.append.mattress.api;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class MattressApiCallServiceGetStatusVo {

    @ApiModelProperty("状态值")
    private Integer code;
    @ApiModelProperty("状态信息")
    private String msg;
    @ApiModelProperty("数据")
    private MattressApiCallServiceGetStatusData data;

    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    public class MattressApiCallServiceGetStatusData {
        @ApiModelProperty("状态:0离线,1在线")
        private Integer status;
        @ApiModelProperty("（信号值）1-10 弱 11-20 中 21-30 强 ")
        private Integer signal;
        @ApiModelProperty("纬度")
        private String lat;
        @ApiModelProperty("经度")
        private String lng;
    }

}
